package com.b511.swpu.cementbackend.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;

@Entity
@Getter
@Setter
@Accessors(chain = true)
@Table(name = "CM_WK_MUD_FORMULA", schema = "WANGBING", catalog = "")
// 对应数据表 CM_WK_MUD_FORMULA 用于生成报表数据中的 作业水泥浆配方
public class CM_WK_MudFormula {
    @Id
    @GenericGenerator(name="cmWkMudFormulaGenerator", strategy="uuid")
    @GeneratedValue(generator="cmWkMudFormulaGenerator")
    // ID生成策略是否改为UUID -> String
    @Column(name = "CM_WK_MUD_FORMULA_ID")
    private String CM_WK_MUD_FORMULA_ID;

    @Basic
    @Column(name = "BA_WELL_ID")
    private String baWellId;

    @Basic
    @Column(name = "WELLNAME")
    private String wellName;

    @Basic
    @Column(name = "CASINGSIZE")
    private String casingSize;

    @Basic
    @Column(name = "EXPREMENT_ITEM")
    private String exprementItem;

    @Basic
    @Column(name = "ITEM_NO")
    private Integer itemNo;

    @Basic
    @Column(name = "MATERIAL_CATEGORY")
    private String materialCategory;

    @Basic
    @Column(name = "MATERIAL_NAME")
    private String materialName;

    @Basic
    @Column(name = "MATERIAL_DOSAGE")
    private String materialDosage;

}
